html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

#app {
  height: 100%;
  width: 100%;
}

.hide {
  display: none;
}

.show-block {
  display: block;
}

.lfe-dsl-editor {
  position: absolute;
  height: 100%;
  width: 100%;

  background-color: #282c34;
  color: #abb2bf;
  font-family: 'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace';
  font-size: 14px;
}

.lfe-dsl-editor-line-numbers {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  height: 100%;
  border-right: 1px solid #3a3f4b;
  box-sizing: content-box;
  color: #636d83;
  text-align: right;
  width: 36px;
}

.lfe-dsl-editor-content {
  margin-left: 36px;
}

.lfe-dsl-editor-loading-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.lfe-dsl-editor-select-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background: transparent;
}

.lfe-dsl-editor-label {
  margin: 5px 0;
}

.lfe-dsl-editor-input-wrapper {
  position: relative;
  margin: 3px 0;
  font-size: 12px;

  display: inline-block;
  vertical-align: middle;
}

.lfe-dsl-editor-input-wrapper:first-child {
  margin-left: 6px;
}

.lfe-dsl-editor-input-box {
  position: relative;
  min-width: 50px;
}

.lfe-dsl-editor-input {
  position: absolute;
  width: calc(100% - 10px);
  outline: none;
  border: none;
  border-radius: 2px;
  color: #c9cfdb;
  background-color: #0d1117;
  padding: 2px 5px;
  font-size: 12px;
  height: 14px;
}

.lfe-dsl-editor-input-label {
  display: inline-block;
  visibility: hidden;
  padding: 2px 5px;
  border: none;
  border-radius: 2px;
  font-size: 12px;
  height: 14px;
}

.lfe-dsl-editor-input-candidate {
  position: absolute;
  z-index: 1;

  margin: 2px 0 0 0;
  border: none;
  border-radius: 4px;
  color: #c9cfdb;
  background-color: #0d1117;
}

.lfe-dsl-editor-input-candidate li {
  text-align: left;
  list-style: none;
  padding: 5px;
  cursor: pointer;
}

.lfe-dsl-editor-input-candidate li:first-child {
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}
.lfe-dsl-editor-input-candidate li:last-child {
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

.lfe-dsl-editor-input-candidate li.active {
  color: #fff;
  background-color:#446491;
}

.lfe-dsl-editor-input-candidate li:hover {
  background-color: #3a3f4b;
}

.lfe-dsl-editor-input-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  min-width: 120px;
  max-width: 200px;
  margin-top: 2px;

  background-color: #1d1629;
  border-radius: 2px;
}

.lfe-dsl-editor-input-menu-item {
  color: #999;
  height: 26px;
  line-height: 26px;
  padding-left: 8px;
  padding-top: 2px;
  padding-bottom: 2px;
  cursor: pointer;
}
.lfe-dsl-editor-input-menu-item:first-child {
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}
.lfe-dsl-editor-input-menu-item:last-child {
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

.lfe-dsl-editor-input-menu-item:hover {
  background: #362121;
}

.lfe-dsl-editor-input-menu-item.active {
  background: rgb(1, 20, 30);
}

.lfe-dsl-editor-readonly-input-wrapper {
  cursor: pointer;
  position: relative;
  font-size: 12px;
  margin: 3px 0;

  display: inline-block;
  vertical-align: middle;
}

.lfe-dsl-editor-readonly-input-wrapper:first-child {
  margin-left: 6px;
}

.lfe-dsl-editor-readonly-input-label {
  display: inline-block;

  font-size: 12px;
  font-family: inherit;
  padding: 2px 5px;
  height: 14px;
  line-height: 14px;
  border: none;
  border-radius: 2px;
  color: #c9cfdb;
  background-color: #0d1117;
}

.lfe-dsl-editor-block {
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #3a3f4b;
  border-radius: 4px;
  background-color: #1e222a;
}

.lfe-dsl-editor-block-label {
  font-weight: bold;
  margin-bottom: 5px;
}

.lfe-dsl-editor-split {
  color: #636d83;
  height: 14px;
  line-height: 14px;
}

.lfe-dsl-editor-next-line {
  display: inline-block;
  vertical-align: middle;
  height: 14px;
  line-height: 14px;
  font-size: 12px;
  margin-left: 3px;
  padding: 2px 0;
}
